package com.jk.myimkit.imkit.model;

import io.rong.imlib.model.Conversation;

public class ConversationInfo {
    Conversation.ConversationType conversationType;
    String targetId;

    ConversationInfo() {
    }

    public static ConversationInfo obtain(Conversation.ConversationType type, String id) {
        ConversationInfo info = new ConversationInfo();
        info.conversationType = type;
        info.targetId = id;
        return info;
    }

    public Conversation.ConversationType getConversationType() {
        return this.conversationType;
    }

    public String getTargetId() {
        return this.targetId;
    }
}
